﻿using Foundation;
using Games.iOS;
using UIKit;

[assembly: Xamarin.Forms.Dependency(typeof(RoateImplementation))]
namespace Games.iOS
{
    class RoateImplementation : IRotate
	{
		public void ForcePortrait()
		{
			UIDevice.CurrentDevice.SetValueForKey(new NSNumber((int)UIInterfaceOrientation.Portrait), new NSString("orientation"));
		}
	}
}